package com.supervision.manage.service

import com.supervision.manage.util.SmsSender
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Service


@Service
class CommonService {

    @Autowired
    lateinit var smsSender: SmsSender
    @Autowired
    lateinit var tencentSdkService: TencentSdkService
    @Autowired
    lateinit var smsService: SmsService

//    fun testSmsSend(phone: String) {
//        val data = linkedMapOf<String, String>()
//        data["name"] = "whis"
//        data["code"] = "whis2"
//        val send = smsService.send("18258029748", "554480", data)
//        println(send)
//    }

}